package com.shuangti.seatausermanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuangti.seatausermanagement.entity.User;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Delete("delete from users where user_id = #{user_id}")
    void deleteUserById(@Param("user_id") Long user_id);
}
